package com.hmdp.constant;

public class GlobalConstant {
    public static final String PLEASE_LOGIN="请先登录";
    public static final String NOT_CONCERN_SELF="不能关注自己";
    public static final String PHONE_FORMAT_ERROR="电话格式错误";
    public static final String CODE_ERROR="验证码错误";
    public static final String TOKE_PREFIX="login:token:";
    public static final String USER_PREFIX="user:";
    public static final String SHOP_ID_PREFIX="shop:id:";
    public static final String SHOP_TYPE_LIST="shopType:list";
    public static final String SHOP_TYPE_PREFIX="shopType:list";
    public static final String MUTEX_PREFIX="MUTEX:";
    public static final String MUTEX_SHOP_ID="MUTEX:shop:id:";
    public static final String AUTO_INCREMENT_Voucher_ID="auto-increment:voucher:id";
    public static final String VOUCHER_ID_PREFIX="voucher:id:";
    public static final String PARAMS_EXCEPTION="参数异常";
    public static final String TIME_BEFORE="抢票时间过早";
    public static final String TIME_AFTER="抢票时间已过";
    public static final String VOUCHER_STOCK_NULL="库存不足";
    public static final String TRY_AGAIN_LATER="服务器繁忙，请稍后再试";
    public static final String DO_NOT_REPEAT="请勿重复抢票";
    public static final String LOGIN_TOKEN_KEY="loin:token:";
    public static final String LOCK_ORDER_PREFIX="lock:order:";
    public static final String SECKILL_STOCK="seckill:stock:";
    public static final String GROUP_PREFIX="g";
    public static final String CONSUMER_PREFIX="consumer:";
    public static final String STREAM_NAME="stream.orders";
    public static final String CONCERN_PREFIX="concern:";
    public static final String INBOX_PREFIX="inbox:";
    public static final Integer INBOX_REFRESH_NUM=2;
    public static final String BITMAP_USER_SIGN_PREFIX="bitmap:user:sign:";

    public static final String FAIL="fail";
    public static final String ORDER_BUILD_SUCCESS="订单创建成功";
    public static final Long MUTEX_SHOP_ID_TTL=2L;
    public static final Integer CODE_LENGTH=6;
    public static final Integer INIT_USER_NAME_LENGTH=6;
    public static final Long CODE_TTL=2L;
    public static final Long TOKEN_TTL=30L;
    public static final Long KEY_TTL=60L;
    public static final Integer DEFAULT_PAGE_SIZE=5;
    public static final Integer DEFAULT_SEARCH_DISTANCE=5000;
    public static final String BLOG_LIKE_SET_PREFIX="blog:like:";
    public static final String BLOG_LIKE_ZSET_PREFIX="blog:like_z:";
    public static final String NULL_STRING="";
    public static final String LOCK_BLOG_LIKE="lock:blog:like:";
    public static final String GEO_SHOP_TYPE="geo:shop:type:";

    public static final String JUDGE_SCRIPT="judge.lua";
    public static final String IMAGE_PATH="C:\\Users\\KZJ\\Desktop\\The_directory_cannot_be_in_Chinese\\nginx-1.18.0-hm-remark\\nginx-1.18.0\\html\\hmdp\\imgs";


}
